﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;

namespace Interfaces
{
    public interface IRoleDAO
    {
        List<Role> GetRolesList();

        int AddRole(Role role);
        void DeleteRole(Role role);
        void ModifyRole(Role role);

        int GetRoleID(string title);

        List<Role> GetRolesForUser(int user_id);
        void RemoveRoleFromUser(int role_id, int user_id);
        void AddRoleToUser(int role_id, int user_id);
    }
}
